derivation of demand curve in case of giffen goods